"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const taro_1 = require("@tarojs/taro");
const components_1 = require("@tarojs/components");
const XButton_1 = require("../XButton");
require("./index.scss");
class default_1 extends taro_1.Component {
    render() {
        const { visible, onClick } = this.props;
        return (visible &&
            <components_1.View className='model'>
                <components_1.View className='mask'>
                    <components_1.View className='popup'>
                        <components_1.View className='header'>
                            <components_1.Text className='text'>参与成功</components_1.Text>
                        </components_1.View>
                        <components_1.View className='inner'>
                            <components_1.Text className='text'>您已种下一颗幸运草</components_1.Text>
                        </components_1.View>
                        <components_1.View className='footer'>
                            <XButton_1.default>分享好友获幸运草</XButton_1.default>
                            <components_1.View onClick={onClick}>
                                <components_1.Text className='caption'>暂不参与</components_1.Text>
                            </components_1.View>
                        </components_1.View>
                    </components_1.View>
                </components_1.View>
            </components_1.View>);
    }
}
exports.default = default_1;
//# sourceMappingURL=index.jsx.map